<#include "/macro_.ftl">
# ${businessName!} - 查询分页

## 权限

> **read,${moduleMapperCode}-read,${moduleMapperCode}-${(businessCode?uncap_first)!''}-read,${moduleMapperCode}-${(businessCode?uncap_first)!''}-r0003-read**

> **read-my-department,${moduleMapperCode}-read-my-department,${moduleMapperCode}-${(businessCode?uncap_first)!''}-read-my-department,${moduleMapperCode}-${(businessCode?uncap_first)!''}-r0003-read-my-department**

> **read-my,${moduleMapperCode}-read-my,${moduleMapperCode}-${(businessCode?uncap_first)!''}-read-my,${moduleMapperCode}-${(businessCode?uncap_first)!''}-r0003-read-my**

## 路径

[./web-api/v1/${moduleMapperCode}/${(businessCode?uncap_first)!''}/r0003.json](./r0003.json)

## 类型

HTTP GET

## 输入示例

```
{
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
  "${fieldMapper.code}": "test-data",
    </#list>
</#if>
  "pageSize": 20,
  "pageNumber": 1,
  "token": "test"
}
```

## 输入说明

字段名|可为空|类型及范围|说明
---|---|---|---
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
${fieldMapper.code}|true|${fieldMapper.typeCode!'String'}|<@defaultIfBlank str="${fieldMapper.remarks!}" defaultSt="${fieldMapper.code!}"/>
    </#list>
</#if>
pageSize|true|int|单页返回的记录条数
pageNumber|true|int|返回结果的页码
token|false|String|授权认证码

## 输出示例
```
{
  "datas": [
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    },
    {
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
      "${fieldMapper.code}": "test-data"<#if fieldMapper_has_next>,</#if>
    </#list>
</#if>
    }
  ],
  "totalElements": 1,
  "totalPages": 10,
  "hasPrevious": true,
  "previous": 1,
  "hasNext": true,
  "nextNumber": 1,
  "pages": [
    1,
    2,
    3,
    4,
    5,
    6
  ],
  "page": 1
}
```

## 输出说明

字段名|可为空|类型及范围|说明
---|---|---|---
datas|false|Array|${businessName!}数据集合
totalElements|false|int|总记录条数
totalPages|false|int|总页数
hasPrevious|false|boolean|是否有上一页
previous|false|int|上一页页码
hasNext|false|boolean|是否有下一页
next|false|int|下一页页码
pages|false|array|当前页范围值
page|false|int|当前页页码

字段名：datas[]|可为空|类型及范围|说明
---|---|---|---
<#if entityMapper.fieldMapperMap??>
    <#list entityMapper.fieldMapperMap?values as fieldMapper>
${fieldMapper.code}|true|${fieldMapper.typeCode!'String'}|<@defaultIfBlank str="${fieldMapper.remarks!}" defaultSt="${fieldMapper.code!}"/>
    </#list>
</#if>